Skip to content

fix: log explicit messages when bootstrap.dcs.standby_cluster can't parse#108

Open
vlsi wants to merge 1 commit intoNetcracker:mainfrom
vlsi:bootstrap_dcs_logs
Open

fix: log explicit messages when bootstrap.dcs.standby_cluster can't parse#108
vlsi wants to merge 1 commit intoNetcracker:mainfrom
vlsi:bootstrap_dcs_logs

Conversation

@vlsi
Copy link
Copy Markdown
Collaborator

@vlsi vlsi commented Oct 9, 2025

Previously, a generic panic was logged, so it was hard to figure out the cause

@Tvion
Copy link
Copy Markdown
Collaborator

Tvion commented Jan 8, 2026

Hi, thank you, this looks right to handle each field separately.

However we have to follow the old logic and stop execution if one of the fields incorrect or not found. So here we have to send the error and stop reconcile.

…arse

Return errors from updateStandbyClusterSettings and propagate them to
the reconciler so that reconciliation stops on invalid config instead of
silently continuing with an unmodified configmap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vlsi
Copy link
Copy Markdown
Collaborator Author

vlsi commented Mar 26, 2026

@Tvion , right you are. I've updated the code so it returns the error. Could you review again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants